<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 align="center" >用户信息</h1>
<form method="post">
    {% csrf_token %}
    <table align="center" border="1" width="300px">
            <tr>
                <td>名称</td>
                <td><input type="text" name="username"> </td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="password"> </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="用户注册"/>
                    <input type="submit" value="用户登录"/>
                </td>
            </tr>
    </table>
</form>
</body>
</html>